export default [
    {
        path: '/home',
        name: '首页',
        component: () => import('@/view/page/Home.vue'),
        meta: { imgUrl: 'https://img.mikufufu.com/image/1.webp' },
    },
    {
        path: '/article',
        name: '文章',
        component: () => import('@/view/page/Article.vue'),
        redirect: '/article/category',
        children: [
            {
                path: '/article/category',
                name: '分类',
                component: () => import('@/view/page/article/Category.vue'),
                meta: { imgUrl: 'https://img.mikufufu.com/image/2.webp' },
            },
            {
                path: '/article/tag',
                name: '标签',
                component: () => import('@/view/page/article/Tag.vue'),
                meta: { imgUrl: 'https://img.mikufufu.com/image/3.webp' },
            },
            {
                path: '/article/collection',
                name: '合集',
                component: () => import('@/view/page/article/Collection.vue'),
                meta: { imgUrl: 'https://img.mikufufu.com/image/4.webp' },
            },
            {
                path: '/article/info/:id',
                name: '文章详情',
                component: () => import('@/view/page/article/ArticleInfo.vue'),
                props: true,
                meta: { imgUrl: 'https://img.mikufufu.com/image/illust_69662798_20180903_162017.webp' },
            },
        ]
    },
    {
        path: '/archives',
        name: '归档',
        component: () => import('@/view/page/Archives.vue'),
        meta: { imgUrl: 'https://img.mikufufu.com/image/5.webp' },
    },
    {
        path: '/album',
        name: '相册',
        component: () => import('@/view/page/Album.vue'),
        redirect: '/album/list',
        children: [
            {
                path: '/album/list',
                name: '相册列表',
                component: () => import('@/view/page/album/AlbumList.vue'),
                meta: { imgUrl: 'https://img.mikufufu.com/image/illust_69662798_20180903_162017.webp' },
            },
            {
                path: '/album/info/:id',
                name: '相册详情',
                component: () => import('@/view/page/album/AlbumInfo.vue'),
                props: true,
                meta: { imgUrl: 'https://img.mikufufu.com/image/illust_69662798_20180903_162017.webp' },
            },
        ]
    },
    {
        path: '/link',
        name: '外链',
        component: () => import('@/view/page/Link.vue'),
        meta: { imgUrl: 'https://img.mikufufu.com/image/2.webp' },
    }
]
